let olm;
if (typeof window === "undefined") { // Node env
    // eslint-disable-next-line global-require
    olm = require("olm");
} else {
    // eslint-disable-next-line global-require
    olm = require("olm/olm_legacy");
}

global.Olm = olm;
